﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace SmallProject.Models
{
    public class Person
    {
        [ Required(AllowEmptyStrings=false, ErrorMessage="改字段为必填字段")]
        public string Name { get; set; }
    }
}